package com.ruoyi.system.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.ScenicSpots;
import com.ruoyi.system.domain.Storelist;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 景点信息对象 scenic_spots
 *
 * @author ruoyi
 * @date 2025-05-18
 */
public class ScenicSpotsDto extends ScenicSpots {
    private List<Storelist> storeList;

    public List<Storelist> getScenicSpotsList() {
        return storeList;
    }

    public void setScenicSpotsList(List<Storelist> storeList) {
        this.storeList = storeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("spotId", getSpotId())
                .append("name", getName())
                .append("spotImg", getSpotImg())
                .append("type", getType())
                .append("address", getAddress())
                .append("introduction", getIntroduction())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("storeList", getScenicSpotsList())
                .toString();
    }
}
